<extend name="Public:base" />
<block name="body">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 main-body">
		<ul>
			<li class="m_p" style="float:left;"><span class="glyphicon glyphicon-th"></span>关注回复配置</li>
		</ul>
</div>
<div class="subscribe_nav container-fluid">
<ul class="nav nav-tabs" role="tablist">
  <li role="presentation" class="active"><a href="#" onclick="select_type('.wenben','.tupian','.yinyue','.shiping','.yuying','.tuwen')">文   本</a></li>
  <li role="presentation"><a href="#" onclick="select_type('.tupian','.wenben','.yinyue','.shiping','.yuying','.tuwen')">图   片</a></li>
  <li role="presentation"><a href="#" onclick="select_type('.yuying','.tupian','.wenben','.shiping','.yinyue','.tuwen')">语   音</a></li>
  <li role="presentation"><a href="#" onclick="select_type('.shiping','.tupian','.yinyue','.wenben','.yuying','.tuwen')">视   频</a></li>
  <li role="presentation"><a href="#" onclick="select_type('.yinyue','.tupian','.shiping','.wenben','.yuying','.tuwen')">音   乐</a></li>
  <li role="presentation"><a href="#" onclick="select_type('.tuwen','.tupian','.yinyue','.shiping','.yuying','.wenben')">图   文</a></li>
</ul>
<div class="container-fluid subscribe_info">
<div class="text-danger bg-danger col-xs-12 col-sm-12 col-md-12 col-lg-12 ts">
公众号在使用接口时，对多媒体文件、多媒体消息的获取和调用等操作，是通过media_id来进行的。通过本接口，公众号可以上传或下载多媒体文件。
但请注意，每个多媒体文件（media_id）会在上传、用户发送到微信服务器3天后自动删除，以节省服务器资源。
因此本系统会在3天内自动上传你设置的文件，保证你的信息完整性。
</div>
</div>
</div>
<div class="container-fluid subscribe_content">
   <div class="wenben">
      <form class="form-horizontal" action="__MODULE__/MemberPublic/subscribe_pro" method="post" enctype="multipart/form-data">
          <div class="col-sm-12">
          <label class="item-label"> 内容: </label>
          </div>
          <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
          <input type="hidden" name="public_id" value="{$_SESSION['now_pub']['public_id']}">
          <input type="hidden" name="msgtype" value="text">
          <input type="text" name="content" class="form-control">
          <span class="help-block">
              请输入你需要回复的文本内容，如需换行请输入"\n"。
          </span>
          <input type="submit" class="btn btn-success" value="提交"/>
          <input type="reset" class="btn btn-success" value="重置"/>
          </div>
      </form>
  </div>
  <div class="tupian" style="display: none;">
      <form class="form-horizontal" action="__MODULE__/MemberPublic/subscribe_pro" method="post" enctype="multipart/form-data">
          <div class="col-sm-12">
          <label class="item-label"> 请选择图片: </label>
          </div>
          <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
          <input type="hidden" name="public_id" value="{$_SESSION['now_pub']['public_id']}">
          <input type="hidden" name="msgtype" value="image">
          <input type="file" name="file" class="form-control">
          <span class="help-block">
              请输入你需要图片（支持JPG格式）。
          </span>
          <input type="submit" class="btn btn-success" value="提交"/>
          <input type="reset" class="btn btn-success" value="重置"/>
          </div>
      </form>
  </div>
  <div class="yuying" style="display: none;">
      <form class="form-horizontal" action="__MODULE__/MemberPublic/subscribe_pro" method="post" enctype="multipart/form-data">
          <div class="col-sm-12">
          <label class="item-label"> 请选择音乐文件: </label>
          </div>
          <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
          <input type="hidden" name="public_id" value="{$_SESSION['now_pub']['public_id']}">
          <input type="hidden" name="msgtype" value="voice">
          <input type="file" name="file" class="form-control">
          <span class="help-block">
              请输入你需要音乐文件（支持AMR\MP3格式）。
          </span>
          <input type="submit" class="btn btn-success" value="提交"/>
          <input type="reset" class="btn btn-success" value="重置"/>
          </div>
      </form>
  </div>
  <div class="shiping" style="display: none;">
      <form class="form-horizontal" action="__MODULE__/MemberPublic/subscribe_pro" method="post" enctype="multipart/form-data">
          <div class="col-sm-12">
          <label class="item-label"> 请选择视频文件: </label>
          </div>
          <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
          <input type="hidden" name="public_id" value="{$_SESSION['now_pub']['public_id']}">
          <input type="hidden" name="msgtype" value="video">
          <input type="file" name="file" class="form-control">
          <span class="help-block">
              请输入你需要视频文件（支持MP4格式）。
          </span>
          <input type="submit" class="btn btn-success" value="提交"/>
          <input type="reset" class="btn btn-success" value="重置"/>
          </div>
      </form>
  </div>
  <div class="yinyue" style="display: none;">
      <form class="form-horizontal" action="__MODULE__/MemberPublic/subscribe_pro" method="post" enctype="multipart/form-data">
          <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
          <input type="hidden" name="public_id" value="{$_SESSION['now_pub']['public_id']}">
          <input type="hidden" name="msgtype" value="thumb">
           <div class="col-sm-12">
          <label class="item-label"> 请输入音乐标题: </label>
          </div>
          <input type="text" name="title" class="form-control"><br/>
          <label class="item-label"> 请选择音乐描述: </label>
          <input type="text" name="description" class="form-control"><br/>
          <label class="item-label"> 请选择缩略图文件: </label>
          <input type="file" name="file" class="form-control"><br/>
          <label class="item-label"> 请选择音乐文件: </label>
          <input type="file" name="filepath" class="form-control">
          <span class="help-block">
              请输入你需要音乐文件（支持MP3格式）。
          </span>
          <input type="submit" class="btn btn-success" value="提交"/>
          <input type="reset" class="btn btn-success" value="重置"/>
          </div>
      </form>
  </div>
  <div class="tuwen" style="display: none;">
      <form class="form-horizontal" action="__MODULE__/MemberPublic/subscribe_pro" method="post" enctype="multipart/form-data">
          <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
          <input type="hidden" name="public_id" value="{$_SESSION['now_pub']['public_id']}">
          <input type="hidden" name="msgtype" value="news">
           <div class="col-sm-12">
          <label class="item-label"> 请输入图文信息标题: </label>
          </div>
          <input type="text" name="title" class="form-control"><br/>
          <label class="item-label"> 请输入描述: </label>
          <input type="text" name="description" class="form-control"><br/>
          <label class="item-label"> 请选择图片文件: </label>
          <input type="file" name="file" class="form-control"><br/>
          <label class="item-label"> 请输入需要跳转的url: </label>
          <input type="text" name="url" class="form-control"><br/>
          <input type="submit" class="btn btn-success" value="提交"/>
          <input type="reset" class="btn btn-success" value="重置"/>
          </div>
      </form>
  </div>
</div>
<br/><br/><br/><br/><br/><br/>
</block>